package cn.csg.iotplatform.module.system.controller.admin.permission.vo.role;

import cn.csg.iotplatform.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class UserRolesReqDto extends PageParam {

    @Schema(description = "角色名称/描述，模糊匹配", example = "芋道")
    private String description;

    @Schema(description = "用户id", example = "1")
    @NotNull(message = "id不能为空")
    private Long userId;


    @Schema(description = "tab页面：0-已关联角色，1-修改", example = "1")
    private  Long tableNum;

    private Long loginUserId;
    private Long deptId;

}
